const obj = {
  addressTypeList: [
    { id: 5, name: '用户新地址' },
    { id: 1, name: '呼叫器地址及联系人' },
    { id: 2, name: '呼叫器地址和下单联系人' },
    { id: 3, name: '符合条件的就近收货地址' },
    { id: 4, name: '呼叫器地址和门牌号' },
    { id: 6, name: '呼叫器地址和层、门牌号' },
    { id: 7, name: '呼叫器地址和单元、层、门牌号' },
    { id: 8, name: '呼叫器地址和栋、单元、层、门牌号' },
  ],
  // 关联类型
  relationTypeList: [
    { id: 1, name: '产品' },
    { id: 2, name: 'H5链接' },
    { id: 3, name: '小程序链接' },
    { id: 4, name: '点击事件' },
    { id: 5, name: '小程序内部页面' },
  ],
  // 全部的事件列表
  eventListMap: {
    1: [
      { id: 10, name: '默认' },
      { id: 11, name: '快捷支付下单' },
      { id: 12, name: '补差价支付下单' },
      { id: 13, name: '详情页下单' },
      { id: 14, name: '结算页下单' },
      { id: 18, name: '挂号对接' },
      { id: 19, name: '影像预约对接' },
    ],
    4: [
      { id: 1, name: '连接wifi' },
      { id: 2, name: '拨打电话' },
      { id: 6, name: '按键合并' },
      { id: 51, name: '一键出院' },
      { id: 52, name: '智能拨号' },
    ],
    5: [
      { id: 3, name: '分类资讯' },
      { id: 54, name: '固定资讯' },
      { id: 4, name: '聊天' },
      { id: 5, name: '活动报名' },
      { id: 7, name: '物业通知' },
      { id: 57, name: '通知详情' },
      { id: 53, name: '健康打卡' },
      { id: 55, name: '设备详情' },
      { id: 56, name: '急救订单' },
      { id: 58, name: '受困上报' },
      { id: 59, name: '火情上报' },
      { id: 60, name: '物业缴费' },
      { id: 61, name: '消防报警' },
    ],
  },
  businessConfirmWayList: [
    { id: 1, name: '手动确认' },
    { id: 2, name: '自动确认' },
    { id: 3, name: '支付后自动确认' },
  ],
  // 任务类型
  taskTypeList: [
    { id: 1, name: '指派' },
    { id: 2, name: '广播' },
  ],
  // 任务状态
  taskStateList: [
    { id: 1, name: '待接单' },
    { id: 3, name: '已分配' },
    { id: 5, name: '已接单' },
    { id: 15, name: '已作废' },
    { id: 20, name: '已完成' },
  ],

  // 小程序首页模块类型
  moduleTypeList: [
    { id: 1, name: '按键' },
    { id: 2, name: 'banner图' },
    { id: 3, name: '推荐' },
    { id: 4, name: '列表' },
    { id: 5, name: '大图' },
    { id: 6, name: '搜索' },
    { id: 7, name: '动态内容' },
  ],
  // 对接类型
  dockingTypeList: [
    { id: 1, name: '挂号' },
    { id: 2, name: '影像' },
  ],
  // 字段类型
  fieldTypeList: [
    { value: 1, label: '输入框' },
    { value: 2, label: '选择框' },
    { value: 3, label: '时间选择器' },
    { value: 4, label: '图片上传' },
    { value: 5, label: '视频上传' },
    { value: 6, label: '单选框' },
    { value: 7, label: '定位' },
    { value: 8, label: '录音' },
  ],
  // 货品类别
  serverTypeList: [
    { id: 1, name: '普通' },
    { id: 3, name: '计时' },
    { id: 4, name: '时段' },
    { id: 10, name: '补贴' },
    { id: 15, name: '补差价' },
  ],
  // 销售状态
  saleStateList: [
    { id: 1, name: '待上架' },
    { id: 2, name: '上架' },
    { id: 3, name: '下架' },
    { id: 4, name: '当日售罄' },
  ],
  // 设备类型
  equipmentType: [
    { key: '3', value: '烟雾报警器' },
    { key: '4', value: '燃气报警器' },
    { key: '5', value: '门磁' },
    { key: '6', value: '水浸卫士' },
    { key: '7', value: '摄像头' },
    { key: '8', value: 'SOS' },
    { key: '9', value: '跌倒报警器' },
    { key: '10', value: '红外' },
    { key: '11', value: '睡眠检测' },
    { key: '12', value: '血糖仪' },
    { key: '13', value: '血压仪' },
    { key: '14', value: '动态血压仪' },
    { key: '15', value: '拐杖' },
    { key: '16', value: '胸牌' },
    { key: '17', value: '智护手表' },
  ],
};
export default {
  install(Vue) {
    Vue.prototype.$Options = obj;
  },
};
